package org.jeecg.modules.yw.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 内勤工人表
 * @Author: jeecg-boot
 * @Date:   2025-04-22
 * @Version: V1.0
 */
@Data
@TableName("worker_company_relation")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="worker_company_relation对象", description="内勤工人表")
public class WorkerCompanyRelation implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**内勤id*/
	@Excel(name = "内勤id", width = 15)
    @ApiModelProperty(value = "内勤id")
    @Dict(dictTable ="sys_user", dicText = "realname", dicCode = "id")
    private String workerId;
    @ApiModelProperty(value = "内勤姓名")
    @TableField(exist = false)
    private String workerName;
	/**企业id*/
	@Excel(name = "企业id", width = 15)
    @ApiModelProperty(value = "企业id")
    private String companyId;
    @ApiModelProperty(value = "企业名称")
    @TableField(exist = false)
    private String companyNames;
    @TableField(exist = false)
    @ApiModelProperty(value = "企业名称")
    private List<String> companyIdList;

}
